docs: Escape tags in GtkBuilder description
authorChris Mayo <aklhfex@gmail.com>
Thu, 1 Apr 2021 18:21:57 +0000 (19:21 +0100)
committerChris Mayo <aklhfex@gmail.com>
Thu, 1 Apr 2021 18:21:57 +0000 (19:21 +0100)
Fixes the tags and the rest of the gi-docgen created HTML page not being
visible in a browser.

gtk/gtkbuilder.c

index 8a92d93fe46dab341a4f17c6de641d31c8dc7d31..e06fda638a7a429c695d2029982c20bcea6e0bfe 100644 (file)
  * calling [method@Gtk.Builder.set_translation_domain] on the builder.
  *
  * Objects are described by `<object>` elements, which can contain
- * <property> elements to set properties, `<signal>` elements which
+ * `<property>` elements to set properties, `<signal>` elements which
  * connect signals to handlers, and `<child>` elements, which describe
  * child objects (most often widgets inside a container, but also e.g.
  * actions in an action group, or columns in a tree model). A `<child>`
  * element contains an `<object>` element which describes the child object.
  *
- * The target toolkit version(s) are described by <requires> elements,
+ * The target toolkit version(s) are described by `<requires>` elements,
  * the “lib” attribute specifies the widget library in question (currently
  * the only supported value is “gtk”) and the “version” attribute specifies
  * the target version in the form “`<major>`.`<minor>`”. `GtkBuilder` will
@@ -93,7 +93,7 @@
  * underscores) for its own purposes.
  *
  * Setting properties of objects is pretty straightforward with the
- * <property> element: the “name” attribute specifies the name of the
+ * `<property>` element: the “name” attribute specifies the name of the
  * property, and the content of the element specifies the value.
  * If the “translatable” attribute is set to a true value, GTK uses
  * `gettext()` (or `dgettext()` if the builder has a translation domain set)
  *
  * # Signal handlers and function pointers
  *
- * Signal handlers are set up with the <signal> element. The “name”
+ * Signal handlers are set up with the `<signal>` element. The “name”
  * attribute specifies the name of the signal, and the “handler” attribute
  * specifies the function to connect to the signal.
  * The remaining attributes, “after”, “swapped” and “object”, have the
  * These XML fragments are explained in the documentation of the
  * respective objects.
  *
- * A <template> tag can be used to define a widget class’s components.
+ * A `<template>` tag can be used to define a widget class’s components.
  * See the [GtkWidget documentation](class.Widget.html#building-composite-widgets-from-template-xml) for details.
  */